<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <a href="index.jsp">回到首页</a>
  <h1>组内消息发送语音消息</h1>
   <form id="form1" name="form1" method="post" enctype="multipart/form-data" action="<%=basePath %>/Addvoice">
  <table width="900" border="0">
    <tr>
      <td align="right">语音文件：</td>
      <td><label>
        <input type="file" name="textfield" />
      </label></td>
    </tr>
    <tr>
      <td align="right">组名：</td>
      <td><label>
        <input type="text" name="fristname" value="woan" />
      </label></td>
    </tr>
    <tr>
      <td align="right">用户名：</td>
      <td><label>
        <input type="text" name="userName" value="test001" />
      </label></td>
    </tr>
    <tr>
      <td align="right">密码：</td>
      <td><label>
        <input type="text" name="passwd" value="123456"/>
      </label></td>
    </tr>
    <tr>
      <td align="right">设备号：</td>
      <td><label>
        <input type="text" name="deviceNum"  value="352790041284357"/>
      </label></td>
    </tr>
    <tr>
      <td align="right">语音长度：</td>
      <td><label>
        <input type="text" name="voicelength"  value="20"/>
      </label></td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td><label>
        <input type="submit" name="Submit" value="提交" />
      </label></td>
    </tr>
    <tr>
      <td colspan="2" align="right"><label></label></td>
    </tr>
  </table>
</form>
  </body>
</html>
